module.exports = {
    plugins: [
        new webpack.ProvidePlugin({
          'THREE': require.resolve('three')
        })
      ]
  }